Brighten Screen
(20 actions, 12 KB)
0 Get Device Details
Current Brightness
»
1 Round Number
[0 Current Brightness]
to
Hundredths
»
2 Calculate
[1 Rounded Number]
×
100
»
3 Set Variable
Brightness Percentage
to
[2 Calculation Result]
4 Comment
Enter the upper limit of the percent brightness that you’d like your phone to achieve after running this shortcut as an integer number below.
5 Date
Specified Date
➔ 18:00
»
DateActionDate
:
18:00
6 If
[CurrentDate]
<
ConditionalActionString
Yes
Date
[5 18:00]
7 Number
50
8 Otherwise
9 Number
30
10 End If »
11 Calculate
[10 If Result]
-
[Brightness Percentage]
»
12 Repeat
[11 Calculation Result]
Times
13 If
[Brightness Percentage]
<
100
14 Calculate
[Brightness Percentage]
+
1
»
15 Set Variable
Brightness Percentage
to
[14 Calculation Result]
16 Run Shortcut
Percentage → Decimals
»
Input
:
[Brightness Percentage]
Workflow
:
{ "workflowIdentifier": "AB097065-D7B3-4ABB-B419-DB35E710B6ED", "workflowName": "Percentage → Decimals", "isSelf": false }
17 Set Brightness to
[16 Shortcut Result]
18 End If
19 End Repeat Times ▵
12